<% form_tag change_password_update_users_path(current_user), :method => :put do |f| %>
    <div>
        <table>
			<thead>
				<tr> 
					<th td colspan="2" align ="center">Cambio de Password </th>				
				</tr>
			</thead>
			<tbody>
				<tr>
					<td align = "right">Password Anterior: </td>
					<td><%= password_field_tag 'old_password', @old_password, :size => 45, :class => 'text' %></td>					
				</tr>
				<tr>
					<td align = "right">Password Nuevo: </td>
					<td><%= password_field_tag 'password', {}, :size => 45, :class => 'text' %>
						Between 4 and 40 characters</td>						
				</tr>
				<tr>
					<td align = "right">Confirmar Password Nuevo: </td>
					<td><%= password_field_tag 'password_confirmation', {}, :size => 45, :class => 'text' %></td>
				</tr>
				<tr>
					<td colspan="2" align ="center">
						<%= submit_tag 'Cambiar password' %>
					</td>
				</tr>
			</tbody>
		</table>
    </div>
<%end%>